package com.example.demo.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.example.demo.base.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author cd
 * @since 2022-12-07
 */
@TableName("test")
@ApiModel(value="TestDTO对象", description="")
public class TestDTO extends BaseDTO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "测试字段")
    private Integer columnName;

    @ApiModelProperty(value = "逻辑删除标识")
    private Integer deleteFlag;


    public Long getId() {
        return id;
    }

    public TestDTO setId(Long id) {
        this.id = id;
        return this;
    }

    public Integer getColumn() {
        return columnName;
    }

    public TestDTO setColumn(Integer column) {
        this.columnName = column;
        return this;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public TestDTO setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
        return this;
    }

    @Override
    public String toString() {
        return "TestDTO{" +
        "id=" + id +
        ", column=" + columnName +
        ", deleteFlag=" + deleteFlag +
        "}";
    }
}
